package com.ttg.model.mapper;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ttg.model.pojo.AdminChannel;
import com.ttg.model.vo.RoleAuthResVO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author ZQ
 * @version 1.0
 * @Description
 * @date 2021/3/5 9:36
 */
public interface AdminChannelMapper extends BaseMapper<AdminChannel> {

    List<RoleAuthResVO> roleAuthByTypeList( @Param("lang") String lang);


    List<AdminChannel> findChannelName(@Param("langZhCn") String langZhCn);

    List<Long> findChlIdByChannelName(@Param("keyWord") String keyWord,@Param("langZhCn") String langZhCn);
}